package com.cskaoyan.service;

import com.cskaoyan.bean.bo.*;
import com.cskaoyan.bean.vo.*;

/**
 * @author zhuqiushi
 * @since 2022/09/06 18:28
 */
public interface AdminGoodsService {
    AdminGoodsListVO getGoodsList(AdminGoodsListBO adminGoodsListBO);

    AdminGoodsCatAndBrandVO getCatAndBrand();

    int create(AdminGoodsCreateBO createBO);

    AdminGoodsDetailVO getGoodsDetail(Integer id);

    int update(AdminGoodsUpdateBO adminGoodsUpdateBO);

    int delete(AdminGoodsDeleteBO adminGoodsDeleteBO);

    //获取微信小程序首页商品数
    Integer getWXGoodsCount();

    //获取微信小程序商品类目相关信息
    WXGoodsCategoryVo getWXGoodsCategory(Integer id);

    //获取微信小程序商品类目对应商品表
    WXGoodsListVo getWXGoodsList(WxGoodsListBO wxGoodsListBO);

    //获取微信小程序商品详情
    WXGoodsDetailVo getWXGoodsDetail(Integer id);

    //获取微信小程序相关商品
    WXGoodsRelatedVo getWXGoodsRelated(Integer goodsId);
}
